<?php

/*
|---------------------------------------------------------------
| FILE INFOS
|---------------------------------------------------------------
| [File location]   => ./contents/default/logout.php
| [Class]           => ./core/classes/plugins/user.class.php
| [controller]      => self
|---------------------------------------------------------------
*/

if (! defined ( '__ROOT__' )) exit ( 'Direct access not allowed' );

$_APP->_USER->_refresh();
$_APP->_USER->logout();
header('Location: ' . __WEBROOT__);
